package com.java.netty.client.vnc;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

public class ClientHandler extends SimpleChannelInboundHandler<String> {

   @Override
   protected void channelRead0(ChannelHandlerContext channelHandlerContext, String s) throws Exception {
      System.out.println("收到服务端消息：" + s);
   }
}
